export default function getWinSize(){
	let winWidth=0;
	let winHeight=0;
   	if (window.innerWidth)
   	{	
   		winWidth = window.innerWidth;
   		winHeight=window.innerHeight;
	}
   	else if ((document.body) && (document.body.clientWidth)){
    	winWidth = document.body.clientWidth;
    	winHeight = document.body.clientHeight;
   	}
   	return {
   		width:winWidth,
   		height:winHeight
   	};
}